All Questions
19 questions
2votes
1answer
473views
handle file downloads from the server
I am wondering if the following would be a good technique to allow user to download files from the server in the below scenario: Info about the scenario: User logs into a system (HTML,JQuery and CSS,...
2votes
1answer
110views
Are there standards for handling card swipers in applications?
I'm in the middle of creating a web application for a client, and he wants me to integrate magnetic card swipers so his office staff can quickly swipe a card, and load up details for specific patients ...
-3votes
1answer
130views
Is there a best practice for naming class selectors for identification alone
Is there a best practice for naming class selectors for identification alone? For example, for defining a single amount field with action button, we end up creating several div containers and div ...
1vote
1answer
171views
Is it a good practice to use jQuery object to load scripts onto page?
I am writing a website, and I've come up with quite a few scripts taking up a lot of space and ruining the aesthetics of my code. I came up with the idea of creating one script that fills a div below ...
-1votes
1answer
6kviews
How to incoporate jQuery UI into ASP.NET MVC 5 project that is on an offline system? [closed]
I am having some issues trying to incorporate jQuery UI into my project. I cannot use Nuget or anything else that goes to the internet, so I have downloaded the development package from the jQuery UI ...
1vote
4answers
2kviews
How can I keep browser URL secret when editing data?
Suppose, There is a user list. <a href="user/5">Edit</a> <a href="user/6">Edit</a> When a system user clicked to edit a user info. Then it goes to url to browser like as ...
2votes
4answers
5kviews
Javascript inline event handling versus external jQuery event handlers
Working on a dynamic website that loads information from a JSON file and then populates the page with said elements. My question has to do with event handling - as of now, I don't see any reason as ...
3votes
0answers
2kviews
Managing Login Authentication/Webpage session: Can client side javascript/JQuery access either a session variable or json variable in html?
Short version: A variable is stored in a session variable req.session.userName and also in the json sent with res.render('/', {username: value}). How can I access either of those variables from inside ...
5votes
4answers
2kviews
How to write JavaScript while keeping HTML/CSS out of it
What is / are some recommended ways to write JavaScript as to control behavior of showing HTML on screen, while keeping well-maintainable code? Basically, I started to look for ways to keep HTML/CSS ...
29votes
5answers
5kviews
Tight Coupling Between Javascript, HTML, and CSS: A More Modern Approach?
It's very common to see Javascript bound to certain selectors to find elements, store data, and listen for events. It's also common to see these same selectors used for styling. jQuery (and its ...
0votes
3answers
2kviews
How to approach multiple page form with just one save option
The screen shot shows the magento product upload page. The left nav allows you to switch to different options for the product. Basically each option in the left nav appears as a different page. ...
0votes
5answers
448views
Why do we write the action to be performed by a function in jQuery inside the parentheses?
Generally whenever we're programming in any Programming language, say C, we would pass the parameters we need to pass to a function using the parentheses next to the name of the function. Whereas in ...
-2votes
2answers
1kviews
Do I need to learn Javascript to make decent websites? [closed]
Hello I have been using C++ and Java for years. For better or for worse, I have always looked at JavaScript as not as powerful as these languages and therefore probably not worth my time and effort to ...
1vote
1answer
219views
Why do we program each file separately and place them in separate folders and how do all these file come together?
I was wondering how the cover flow effect is coded. I used this link which gave me the code on how it all worked out : http://luwes.co/labs/js-cover-flow/. I am completely new to complex programs so ...
0votes
1answer
175views
Suggestions for html tag info required for jQuery Plugin
I have written a tiny bit of jQuery which simply selects all the Select form elements on the page and sets the selected property to the correct value. Previously I had to write code to generate the ...